package com.rxm.ys.constant;

/**
 * @Description
 * @Author FengYi
 * @Date 2020-05-27 13:59
 */
public enum HttpCodeEnum {
    SUCCESS(200, "成功"),
    ERROR(5000, "失败")
    ;
    int code;
    String desc;

    HttpCodeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
